<?php
/**
 * @file:      compositio/page.tpl.php
 * @author:    Kitt Hodsden http://kitt.hodsden.org/
 *
 * Original theme designed by DesignDisease, released By-SA through SmashingMagazine
 * http://designdisease.com/blog/compositio-wordpress-theme/
 * http://www.smashingmagazine.com/2009/02/18/compositio-clean-beautiful-and-free-wordpress-theme/
 */
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language; ?>" xml:lang="<?php print $language->language; ?>">
<head profile="http://gmpg.org/xfn/11">
<title><?php print $head_title; ?></title>
<?php print $styles; ?>
<?php if ($browser == 'ie6'): ?>
<link rel="stylesheet" href="/<?php print path_to_theme(); ?>/fix-ie6.css" type="text/css" />
<?php endif; ?>
<?php print $scripts; ?>
</head>
<body class="<?php print $body_classes; ?>">

<!-- Start BG -->
<div id="bg"><div id="bg-all">

<div class="topmenu">
<?php print $primary; ?>

</div>

<!-- Start Container -->
<div class="container">

<!-- Start Header -->
<div class="logo">
<?php 
  if ($logo) {
?>		
  <div class="img">
    <a href="<?php echo base_path(); ?>"> <img src="<?php echo check_url($logo); ?>" alt="<?php echo $site_title; ?>" id="logo" /> </a>
  </div>
<?php 
  } else {
?> 
  <div class="txt">
    <h1><a href="<?php echo base_path(); ?>/"><?php echo check_plain($site_name); ?></a></h1>
    <p class="desc"><?php echo check_plain($site_slogan); ?></p>
  </div>
<?php } ?>
<?php if ($breadcrumb != '') { ?>
<div id="breadcrumbs"><?php print $breadcrumb; ?></div>
<?php } ?>
</div>
<!-- END Header -->

<div class="SL">

<?php if ($help != ""): ?> <p id="help"><?php print $help ?></p> <?php endif; ?>
<?php if ($messages != ""): ?> <div id="message"><?php print $messages; ?></div> <?php endif; ?>
<?php if ($tabs != ''): ?> <div id="tabs"><?php print $tabs; ?></div> <?php endif; ?>

<?php if ($contenttop) { print($contenttop); } ?>
<?php print($content) ?>
<?php if ($contentbottom) { print($contentbottom); } ?>

</div></div>

<div class="SR">

<!-- Customized Start Search -->
<?php if ($search_box) { ?>
<div class="search">
<?php print $search_box; ?>
<!--  <div class="syn">
 <ul>
  <li><a href="/rss.xml">Entries</a> (RSS)</li>
  <li><a href="/tracker">Recent</a></li>
 </ul>
</div> -->
</div>
<?php } /* endif search box */ ?>
<!-- End Search -->

<?php print $right; ?>

</div>
<!-- End SideBar1 -->
<!-- Container -->
</div></div>
<!-- End BG -->

<div class="footer">
<?php print $footer; ?>
<p class="theme">Compositio Theme is created by: <a href="http://designdisease.com/blog/compositio-wordpress-theme/" title="Professional Blog Design">Design Disease</a>, converted to <a href="http://drupal.org/">Drupal</a> by <a href="http://kitt.hodsden.org/drupal/themes/compositio">Kitt Hodsden</a></p>
</div>
<?php print $closure; ?>
</body>
</html>